<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        ul{
            list-style: none;
        }
        a{
            text-decoration: none;
            color: #333;
        }
        body{
            background-color: #f2f2f2;
        }
        ul>li{
            float: left;
            overflow: hidden;
            margin-left: 12px;
        }
        ul>li>a{
            display: inline-block;
            width: 36px;
            height: 36px;
            text-align: center;
            line-height: 36px;
            border-radius: 6px;
            background-color: #fff;
            color: rgb(63, 81, 179);
            font-size: 14px;
        }
        ul>li>a:hover, ul>li.active>a{
            background-color: rgb(63, 81, 179);
            color: #fff;
        }
        ul>li.next>a{
            width: 80px;
        }
    </style>
</head>
<body>
    <ul>
        <li class="item active"><a href="#">1</a></li>
        <li class="item"><a href="#">2</a></li>
        <li class="item"><a href="#">3</a></li>
        <li class="item"><a href="#">4</a></li>
        <li class="item"><a href="#">5</a></li>
        <li class="item"><a href="#">6</a></li>
        <li class="item"><a href="#">7</a></li>
        <li class="item"><a href="#">8</a></li>
        <li class="item"><a href="#">9</a></li>
        <li class="item"><a href="#">10</a></li>
        <li class="item next"><a href="#">下一页 &gt;</a></li>
    </ul>
</body>
</html>